package model;

import java.io.Serializable;

/**
 * User: JAAN
 * Date: 9.05.12
 */
public class User implements Serializable {
    long id;
    String firstname;
    private String password;

    public User(){}
    public User(String firstname, String lastname, String username, String email){
        this.firstname = firstname;
        this.lastname = lastname;
        this.username = username;
        this.email = email;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    String lastname;
    String email;
    String username;

    public long getId() {
        return id;
    }

    public String getFirstname() {
        return firstname;
    }

    public String getLastname() {
        return lastname;
    }

    public String getEmail() {
        return email;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

  public void setPassword(String password) {
    this.password = password;
  }
}
